package com.parking.certified.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 彭于晏
 * @since 2023年11月29日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("certified_account")
public class CertifiedAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 物业账号id
     */
    @TableId(value = "certified_account_id", type = IdType.AUTO)
    private Integer certifiedAccountId;

    /**
     * 物业账号
     */
    @TableField("certified_account_account")
    private String certifiedAccountAccount;

    /**
     * 物业密码
     */
    @TableField("certified_account_pass")
    private String certifiedAccountPass;

    /**
     * 物业账号状态(0，禁用，1，启用，2，删除)
     */
    @TableField("certified_account_state")
    private Integer certifiedAccountState;

    /**
     * 创建时间
     */
    @TableField("certified_account_add_time")
    private String certifiedAccountAddTime;

    /**
     * 创建人
     */
    @TableField("certified_account_add_person")
    private String certifiedAccountAddPerson;

    /**
     * 更新时间
     */
    @TableField("certified_account_update_time")
    private LocalDateTime certifiedAccountUpdateTime;

    /**
     * 更新人
     */
    @TableField("certified_account_update_person")
    private String certifiedAccountUpdatePerson;

    /**
     * 账号角色(0：出租客，1：物业)
     */
    @TableField("account_role")
    private Integer accountRole;


}
